|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.pnr.hci.SubscriptionContextModel
public class SubscriptionContextModel
This Java class represents a subscription context.
Note
If a subscription redefines the dependencies between its charge activations, its subscription context will contain a set of charge dependencies.
SubscriptionContextModelThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="subscriptionContext">
<xs:complexType>
<xs:sequence>
<xs:element ref="parameterSet" minOccurs="0" maxOccurs="1"/>
<xs:element ref="translationInstanceSet" minOccurs="0" maxOccurs="1"/>
<xs:element ref="tierTableInstanceSet" minOccurs="0" maxOccurs="1"/>
<xs:element ref="chargeDependencySet" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
| Constructor Summary | |
|---|---|
SubscriptionContextModel()
Constructs an empty subscription context model. |
|
SubscriptionContextModel(ParameterSetModel parameterSet,
TranslationInstanceSetModel translationInstanceSet,
TierTableInstanceSetModel tierTableInstanceSet,
ChargeDependencySetModel chargeDependencySet)
Constructs an full subscription context model. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String name,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
ChargeDependencySetModel |
getChargeDependencySet()
Returns the charge dependency set of this subscription context. |
ParameterSetModel |
getParameterSet()
Gets the parameter set model of this subscription context. |
TierTableInstanceSetModel |
getTierTableInstanceSet()
Returns the tier table instance set of this subscription context. |
TranslationInstanceSetModel |
getTranslationInstanceSet()
Returns the translation instance set of this subscription context. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setChargeDependencySet(ChargeDependencySetModel dependencySet)
Sets the charge dependency set of this subscription context. |
void |
setParameterSet(ParameterSetModel parameterSet)
Sets the parameter set model of this subscription context. |
void |
setTierTableInstanceSet(TierTableInstanceSetModel tierTableInstanceSet)
Sets the tier table instance set of this subscription context. |
void |
setTranslationInstanceSet(TranslationInstanceSetModel translationInstanceSet)
Sets the translation instance set of this subscription context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubscriptionContextModel()
public SubscriptionContextModel(ParameterSetModel parameterSet,
TranslationInstanceSetModel translationInstanceSet,
TierTableInstanceSetModel tierTableInstanceSet,
ChargeDependencySetModel chargeDependencySet)
parameterSet - The parameter set model of this subscription contexttranslationInstanceSet - The translation instance set of this subscription contexttierTableInstanceSet - The tier table instance set of this subscription contextchargeDependencySet - The charge dependency set of this subscription context| Method Detail |
|---|
public void setParameterSet(ParameterSetModel parameterSet)
parameterSet - The parameter set model of this subscription contextpublic ParameterSetModel getParameterSet()
public void setTranslationInstanceSet(TranslationInstanceSetModel translationInstanceSet)
translationInstanceSet - The translation instance set of this subscription contextpublic TranslationInstanceSetModel getTranslationInstanceSet()
public void setTierTableInstanceSet(TierTableInstanceSetModel tierTableInstanceSet)
tierTableInstanceSet - The tier table instance set of this subscription contextpublic TierTableInstanceSetModel getTierTableInstanceSet()
public void setChargeDependencySet(ChargeDependencySetModel dependencySet)
dependencySet - The charge dependency set of this subscription contextpublic ChargeDependencySetModel getChargeDependencySet()
public void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current element
public void addChild(java.lang.String name,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallablename - The name of tag for the childchild - The child to be addedpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - The XML output to marshal the object into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||